//
//  NetWorkStateDescription.m
//  NetWorkState
//
//  Created by I三生有幸I on 15/7/6.
//  Copyright (c) 2015年 盛辰. All rights reserved.
//

#import "NetWorkStateDescription.h"

@implementation Reachability (NetWorkStateDescription)


- (NSString *)currentReachabilityStatusDescription
{
    NetworkStatus status = self.currentReachabilityStatus;
    switch (status) {
        case NotReachable:
            return @"无网络";
        case ReachableViaWiFi:
            return @"无线局域网络";
        case ReachableViaWWAN:
            return @"蜂窝移动网络";
        default:
            return nil;
    }
}
@end
